from random import randint
idiom_set = ('无懈可击','锐不可当','雷厉风行','震耳欲聋','惊心动魄','如履平地','万马奔腾','气贯长虹','势如破竹')
point = 20
print("直接填写答案，回车进入下一关。什么也不填忽略本成语！！")
for i in idiom_set:
    replace = i[randint(1,4)]
    i = i.replace(replace,'_')
    print(i)
    ipt = input("输入：")
    if ipt == replace:
        print("正确，你真棒！")
        point += 2
    elif ipt == '':
        print('过！')
        pass
    else:
        print("错了，正确答案：",replace)
print("选手最后得分:",point)

